import { createApp } from 'vue';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import axios from './utils/axios'; // 引入封装的 axios 实例
import router from './router';
import store from './store';


const app = createApp(App);

// 正确挂载 axios 到全局属性
app.config.globalProperties.$axios = axios;

app.use(router);
app.use(ElementPlus);
app.use(store);
app.mount('#app');
